import Http from "@/libs/Http";

export function getNewsInfolist(params) {//获取资讯列表
    return Http.get('/quanying-WebPortal-service-provider/common/FileUploadController/getNewsInfolist.action',params)
}
export function getNewsDetailInfo(params) {//获取单条资讯详情
    return Http.get('/quanying-WebPortal-service-provider/common/FileUploadController/getNewsDetailInfo.action',params)
}
export function getServiceInfo(params) {//获取1带看服务 或者 2托管技改 内容
    if(params==1){
        return Http.get('/quanying-service-provider-portal/about/AboutUsController/getSeeServiceInfos.action')
    }else if(params==2){
        return Http.get('/quanying-service-provider-portal/about/AboutUsController/getTechnologyInfos.action')
    }
}